home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- if count(the windowList) = 0 then
- clearGlobals()
- case #a of
- #a:
- fn = "Bush, George W."
- #b:
- fn = "bernstein, carl"
- #c:
- fn = "Chávez, César"
- #g:
- fn = "Georgia2"
- #n:
- fn = "Nixon, Richard"
- #s:
- fn = "São Tomé and Príncipe"
- #Y:
- fn = "yemen"
- #zz:
- fn = "Albright, Madeleine"
- end case
- init(fn && " (dummy title)", fn)
- end if
- end
-
- on CloseMIAW
- global gDBPicttextVarList, gForgetList
- go(the frame + 1)
- MyObj = getaProp(gDBPicttextVarList, GetObjProp())
- condemn(MyObj)
- deleteProp(gDBPicttextVarList, GetObjProp())
- append(gForgetList, the activeWindow)
- end
-
- on changePicTxt
- the itemDelimiter = ":"
- repeat with i = 1 to 792
- mem = member(i, "DBPicTxt.CST")
- if mem.type = #text then
- alert("Text member used for " & i)
- next repeat
- end if
- if mem.type = #field then
- newRect = mem.rect
- newRect.right = 397
- mem.rect = newRect
- mem.alignment = "left"
- mem.font = "Helvetica"
- mem.fontSize = 12
- end if
- end repeat
- end
-